<?php
// Basic path independence constants
define ('DS', DIRECTORY_SEPARATOR);
define ('ROOT', realpath(dirname(__FILE__).DS.'..'.DS.'..'.DS.'..'.DS));

// Setup the environmnet in another place
require(ROOT.'libs/setup.php');

require_once(LIBS.'external/simpletest/unit_tester.php');
require_once(LIBS.'external/simpletest/reporter.php');

$test = &new GroupTest('All Sbook Tests');
$test->addTestFile('urlmapper_test.php');
$test->addTestFile('request_test.php');
$test->addTestFile('response_test.php');
$test->addTestFile('view_test.php');
$test->run(new HtmlReporter());
?>
